package com.transpot.service.exception;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.transpot.entry.exception.Exception;
import com.transpot.entry.exception.ExceptionVO;

/**
 * 订单异常类的service层接口
 */
public interface ExceptionService extends IService<Exception> {
    /**
     * 获取全部未处理异常方法
     * @param current
     * @param size
     * @return
     */
    Page<ExceptionVO> getAllException(int current, int size);

    /**
     * 获取司机提交的异常
     * @param current
     * @param size
     * @param id
     * @return
     */
    Page<ExceptionVO> getExceptionByDriverId(int current, int size, Integer id);
}
